# 基础 image
FROM node:12.6.0-alpine

EXPOSE 8080

# 设置项目目录

WORKDIR /app

# 安装项目依赖
COPY . .

RUN npm install cross-env
RUN npm install



# 运行
CMD ["npm", "run", "serve"]
